package com.utility;

import java.io.Serializable;

public class MousePress implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final int LEFT_PRESS = 1;
	public static final int RIGHT_PRESS = 2;
	private final int pressType;
	
	public MousePress(final int pressType) {
		this.pressType = pressType;
	}
	
	public boolean isLeftPress() {
		return pressType == LEFT_PRESS;
	}
	
	public boolean isRightPress() {
		return pressType == RIGHT_PRESS;
	}
}
